package cn.hrlly.tao2shou.domain;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * User: gengliang
 * Date: 2016-01-25
 * Time: 18:10
 */

public class CommodityList {
    @SerializedName("status")
    private int status;
    @SerializedName("error_message")
    private String errorMessage;
    @SerializedName("commodities")
    private List<Commodities> commodities;

    private int page;
    private int pageCount;
    private int sortAccording;
    private double longitude;
    private double lantitude;
    private String antistop;
    private String classification;

    @Override
    public String toString() {
        return "CommodityList{" +
                "status=" + status +
                ", errorMessage='" + errorMessage + '\'' +
                ", commodities=" + commodities +
                ", page=" + page +
                ", pageCount=" + pageCount +
                ", sortAccording=" + sortAccording +
                ", longitude='" + longitude + '\'' +
                ", lantitude='" + lantitude + '\'' +
                '}';
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getAntistop() {
        return antistop;
    }

    public void setAntistop(String antistop) {
        this.antistop = antistop;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public List<Commodities> getCommodities() {
        return commodities;
    }

    public void setCommodities(List<Commodities> commodities) {
        this.commodities = commodities;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getSortAccording() {
        return sortAccording;
    }

    public void setSortAccording(int sortAccording) {
        this.sortAccording = sortAccording;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLantitude() {
        return lantitude;
    }

    public void setLantitude(double lantitude) {
        this.lantitude = lantitude;
    }
}
